Accessing Parts of a History Record

I'm retrieving object modifications from object history records.  There is one aspect I want to

retrieve/record but don't know how to access.  Please see attached screen shot.  The Modification in

question is "Copy Object", recorded at 3:55:09 PM on 10/24/2013.  The "Details of selected history record" are

listed below with "From"  "To" values.  I don't see anything in the DXL documentation that tells me

how to capture those.  Note those are NOT captured in h.oldValue and h.newValue (see page 325 in DOORS DXL manual).

Anyone know how to capture those values? 

Thanks,

Tara Wilk


FormerIBMer - Tue Dec 11 09:54:59 EST 2018

Re: Accessing Parts of a History Record
PekkaMakinen - Tue Dec 11 10:20:12 EST 2018

oldAbsNo, see https://www.ibm.com/developerworks/community/forums/html/topic?id=77777777-0000-0000-0000-000014178016

Re: Accessing Parts of a History Record
FormerIBMer - Tue Dec 11 10:34:13 EST 2018

Got it, just tested it.  Used   h.oldAbsNo and h.absNo.  Just wondering what

sourceAbsNo and targetAbsNo are for.  I know for Moves those still come out

in the oldValue and newValue.

 

There's another weirdness I wonder about.  In an object history, modifications recorded

as "arrangeModule"  actually turn out to be "Move Object".  And even thought the DXL manual

lists copyObject as a history type, test for that never flags a Copy, only clipCopyObject history type

does so.

Thanks for responding so quickly.

 

T.

Re: Accessing Parts of a History Record
PekkaMakinen - Tue Dec 11 10:37:24 EST 2018

FormerIBMer - Tue Dec 11 10:34:13 EST 2018

Got it, just tested it.  Used   h.oldAbsNo and h.absNo.  Just wondering what

sourceAbsNo and targetAbsNo are for.  I know for Moves those still come out

in the oldValue and newValue.

 

There's another weirdness I wonder about.  In an object history, modifications recorded

as "arrangeModule"  actually turn out to be "Move Object".  And even thought the DXL manual

lists copyObject as a history type, test for that never flags a Copy, only clipCopyObject history type

does so.

Thanks for responding so quickly.

 

T.

sourceAbsNo and targetAbsNo in the history context are the link source and target absolute numbers for link history record